import {developmentUrl} from "../config/env";
import request from "../config/axios";
export const history=(data)=>request({
    url:`${developmentUrl}/message/list?page=${data.page}&limit=${data.limit}`,
    method:"GET"
})
export const historyDelete=()=>request({
    url:`${developmentUrl}/message`,
    method:"DELETE"
})
export const historySearch=(data)=>request({
    url:`${developmentUrl}//message/list?page=1&limit=20&startDate=${data.startDate}&endDate=${data.endDate}`,
    method:"GET"
})